package com.richdown.movie.aop;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @desc 用于Web控制器的登录会话拦截Annotation
 * @author dinglinan
 * @version 2012-11-23 下午3:54:45
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Documented
public @interface WebSession {
	
	public enum RequestType{
		 WEB, AJAX
	}
	
	RequestType requestType() default RequestType.WEB;
	
	String value() default "";

}
